package com.xiaoyu.lingdian.service;

import java.util.List;
import com.xiaoyu.lingdian.entity.CoreRideRecord;
import com.xiaoyu.lingdian.core.mybatis.page.Page;

public interface CoreRideRecordService {

	/**
	* 添加
	* @param coreRideRecord
	* @return
	*/
	public boolean insertCoreRideRecord(CoreRideRecord coreRideRecord);

	/**
	* 修改
	* @param coreRideRecord
	* @return
	*/
	public boolean updateCoreRideRecord(CoreRideRecord coreRideRecord);

	/**
	* 删除
	* @param coreRideRecord
	* @return
	*/
	public boolean deleteCoreRideRecord(CoreRideRecord coreRideRecord);

	/**
	* 批量删除
	* @param list
	*@return boolean
	*/
	public boolean deleteBatchByIds(List<String> list);

	/**
	* 查询
	* @param coreRideRecord
	* @return
	*/
	public CoreRideRecord getCoreRideRecord(CoreRideRecord coreRideRecord);

	/**
	* 根据用户查询
	* @param coreRideRecord
	* @return
	*/
	public CoreRideRecord getCoreRideRecordByUser(CoreRideRecord coreRideRecord);
	
	/**
	* 查询所有List
	*@return List
	*/
	public List<CoreRideRecord> findCoreRideRecordList();


	/**
	* 查询所有Page
	*@return Page
	*/
	public Page<CoreRideRecord> findCoreRideRecordPage(int pageNum, int pageSize, String crrrdTitle, String crrrdUser);

//<=================定制内容开始==============
//==================定制内容结束==============>

}